<?php

namespace App\Http\Controllers\Servers;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class ServiceController extends Controller
{
    public function docker(Request $request, $connection, $ip)
    {
        return view('server.service.docker.index', ['title' => 'Docker', 'connection' => $connection,
            'ip' => $ip, 'service' => $request->get('service'),
            'links' => [
                ['href' => '/servers/list', 'text' => 'Сервера'], ['text' => 'Администрирование',
                    'href' => route('server.admin', ['ip' => $ip]),
                ]]]);
    }
}
